package com.project.dao;

import com.project.entity.Exam;

import java.util.List;

public interface ExamMapper
{
    List<Exam> selectByCourseid(Integer courseid);
    Exam selectById(Integer id);
    List<Exam> selectByStudentid(Integer studentid);
    Exam selectByExampaperId(Integer exampaperid);
    int deleteByPrimaryKey(Integer id);
    int insertSelective(Exam exam);

    List<Exam> selectBycourseteachid(Integer courseteachid);

    int updateByPrimaryKeySelective(Exam exam);

    List<Exam> GetAllExam();
}
